Skip to content

Conversation

@NickHardeman
Copy link
Contributor

updating from scene will take effect on changing animation parameters.

Before this PR, the following would have no effect, and calling setAnimation(0) to try and update the animation mixer would fail since it was the same index.

model.getAnimation(0).setLoopType(OF_LOOP_NORMAL);
model.getAnimation(0).play();

Now both the above works in addition to

model.getCurrentAnimation().setLoopType(OF_LOOP_NORMAL);
model.getCurrentAnimation().play();

As mentioned in this issue:
#8387

@NickHardeman NickHardeman added this to the 0.12.2 milestone Mar 25, 2025
@ofTheo ofTheo merged commit 48983ff into openframeworks:master Mar 26, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants